<?php defined('IN_PHPCMS') or exit('No permission resources.'); ?><?php include template("content","header"); ?>
<div class="nybanner">
<img src="<?php echo IMG_PATH;?>nybanner.jpg">
</div>
<div class="xinwen-box">
    <div class="common-width">
        <?php if(defined('IN_ADMIN')  && !defined('HTML')) {echo "<div class=\"admin_piao\" pc_action=\"get\" data=\"op=get&tag_md5=62ca015aaa68fbed9381a1b029ce687c&sql=select+n.keywords%2Cn.updatetime%2Cn.url%2Cn.description%2Cn.title%2Cnd.content+from+product+as+n%2C+product_data+as+nd+WHERE+n.catid%3D%24catid+and+n.id%3Dnd.id+and+n.id%3D%24id\"><a href=\"javascript:void(0)\" class=\"admin_piao_edit\">编辑</a>";}pc_base::load_sys_class("get_model", "model", 0);$get_db = new get_model();$r = $get_db->sql_query("select n.keywords,n.updatetime,n.url,n.description,n.title,nd.content from product as n, product_data as nd WHERE n.catid=$catid and n.id=nd.id and n.id=$id LIMIT 20");while(($s = $get_db->fetch_next()) != false) {$a[] = $s;}$data = $a;unset($a);?><?php if(defined('IN_ADMIN') && !defined('HTML')) {echo '</div>';}?>
        <div class="xinwen wow fadeInUp">
            <div class="xinwen-time">
                <h1><?php echo $data['0']['keywords'];?></h1>
                <h2>发布时间：<?php echo date('Y-m-d',$data[0]['updatetime']);?></h2>
            </div>
            <div class="xinwen-nrxq">
                <?php echo $data['0']['content'];?>
            </div>
        </div>
    </div>
</div>
<?php include template("content","footer"); ?>